from application import db


class CardOrder(db.Model):
    __tablename__ = 'card_order'

    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String(30, 'utf8mb4_0900_ai_ci'))
    company = db.Column(db.String(30, 'utf8mb4_0900_ai_ci'))
    department = db.Column(db.String(30, 'utf8mb4_0900_ai_ci'))
    openid=db.Column(db.String(30, 'utf8mb4_0900_ai_ci'))
    mark = db.Column(db.Integer)
    city = db.Column(db.String(30, 'utf8mb4_0900_ai_ci'))
    reason = db.Column(db.String(30, 'utf8mb4_0900_ai_ci'))
    updated_time = db.Column(db.DateTime)
    created_time = db.Column(db.DateTime)
